<template>
    <el-form ref="form" :model="form" label-width="100px" size="medium">
        <el-form-item label="试卷名称">
            <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="试卷类型">
            <el-select v-model="form.region" placeholder="请选择试题类型">
            <el-option label="前端" value="shanghai"></el-option>
            <el-option label="后端" value="beijing"></el-option>
            </el-select>
        </el-form-item>
        <el-form-item label="考试时间">
            <el-col :span="11">
            <el-date-picker type="date" placeholder="开始时间" v-model="form.date1" style="width: 100%;"></el-date-picker>
            </el-col>
            <el-col :span="11">
            <el-date-picker type="date" placeholder="结束时间" v-model="form.date2" style="width: 100%;"></el-date-picker>
            </el-col>
            <el-col class="line" :span="2">-</el-col>
            <el-col :span="11">
            <el-time-picker placeholder="选择时间" v-model="form.date3" style="width: 100%;"></el-time-picker>
            </el-col>
        </el-form-item>
        <!-- <el-form-item>
            <el-button type="primary" @click="next">立即创建</el-button>
            <el-button>取消</el-button>
        </el-form-item> -->
        </el-form>
</template>

<script>
export default {
    name:'step1',
    
    data(){
        
        return{
            form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          date3: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        },
        }

    }

}
</script>
<style scoped>

</style>